package com.duzq.entity;

import com.duzq.common.annotation.EnumValue;
import com.duzq.common.entity.BaseEntity;
import com.duzq.enums.UserEnums;

/**
 * 用户
 * @author duzq
 * @date 2021-03-24 14:51:45
 */
public class User implements BaseEntity {

    /**
     * ID
     */
    private Integer id;
    /**
     * 名称
     */
    private String name;
    /**
     * 状态
     */
    @EnumValue(enumType = UserEnums.UserStatus.ENUM_TYPE)
    private Integer status;
    /**
     * 状态名称
     */
    private String statusName;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getStatusName() {
        return statusName;
    }

    public void setStatusName(String statusName) {
        this.statusName = statusName;
    }
}
